package cn.platform.service.impl;

import cn.platform.mapper.HarmonyNoticeMapper;
import cn.platform.response.AResponse;
import cn.platform.service.HarmonyNoticeService;
import cn.platform.service.HarmonyService;
import cn.platform.util.identify.SessionToken;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HarmonyNoticeServiceImpl implements HarmonyNoticeService {
    @Autowired
    HarmonyNoticeMapper harmonyNoticeMapper;

    /**
     * 查询学校通知
     *
     * @return AResponse res 学校通知
     * @author jyz
     */
    @Override
    public AResponse getNotice() {
        AResponse res = new AResponse();
        res.setData(harmonyNoticeMapper.getNotice());
        return res;
    }
}
